<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="generator" content="ApiGen 2.8.0" />

	<title>Class Object | sweetphp</title>

	<script type="text/javascript" src="resources/combined.js?2802521858"></script>
	<script type="text/javascript" src="elementlist.js?3776638906"></script>
	<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />

</head>

<body>
<div id="left">
	<div id="menu">
		<a href="index.html" title="Overview"><span>Overview</span></a>


		<div id="groups">
			<h3>Packages</h3>
			<ul>
				<li><a href="package-PHP.html">PHP</a>
						</li>
				<li class="active"><a href="package-SweetPHP.html">SweetPHP<span></span></a>
						<ul>
				<li class="active"><a href="package-SweetPHP.System.html">System<span></span></a>
						<ul>
				<li class="active"><a href="package-SweetPHP.System.Core.html">Core</a>
						</li>
				<li><a href="package-SweetPHP.System.Test.html">Test</a>
						</li>
				<li><a href="package-SweetPHP.System.Utility.html">Utility</a>
						</li>
							</ul></li></ul></li>
			</ul>
		</div>

		<hr />


		<div id="elements">
			<h3>Classes</h3>
			<ul>
				<li><a href="class-DB.html">DB</a></li>
				<li><a href="class-DBInterage.html">DBInterage</a></li>
				<li><a href="class-Defaults.html">Defaults</a></li>
				<li><a href="class-Entity.html">Entity</a></li>
				<li><a href="class-InputIOPost.html">InputIOPost</a></li>
				<li class="active"><a href="class-Object.html">Object</a></li>
				<li><a href="class-Param.html">Param</a></li>
				<li><a href="class-Post.html">Post</a></li>
				<li><a href="class-Request.html">Request</a></li>
				<li><a href="class-Routers.html">Routers</a></li>
				<li><a href="class-Verify.html">Verify</a></li>
			</ul>





		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
<div id="rightInner">
	<form id="search">
		<input type="hidden" name="cx" value="" />
		<input type="hidden" name="ie" value="UTF-8" />
		<input type="text" name="q" class="text" />
		<input type="submit" value="Search" />
	</form>

	<div id="navigation">
		<ul>
			<li>
				<a href="index.html" title="Overview"><span>Overview</span></a>
			</li>
			<li>
				<a href="package-SweetPHP.System.Core.html" title="Summary of SweetPHP\System\Core"><span>Package</span></a>
			</li>
			<li class="active">
<span>Class</span>			</li>
		</ul>
		<ul>
			<li>
				<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
			</li>
		</ul>
		<ul>
		</ul>
	</div>

<div id="content" class="class">
	<h1>Class Object</h1>


	<div class="description">
	SweetPHP<br />

<p><b>Object</b></p>

<p>Faz conversões de tipos diferentes para Object e de Objeto para outros
tipos.</p>

<p>Configurar o path do projeto.</p>

	</div>

	<dl class="tree">
		<dd style="padding-left:0px">
<b><span>Object</span></b>			
			 implements 
				<a href="class-Reflector.html"><span>Reflector</span></a>
			
			
		</dd>
	</dl>








	<div class="info">
		
		
		
		<b>Package:</b> <a href="package-SweetPHP.html">SweetPHP</a>\<a href="package-SweetPHP.System.html">System</a>\<a href="package-SweetPHP.System.Core.html">Core</a><br />

				<b>Copyright:</b>
				Copyright (c) 2013 - 2014, Ilines.<br />
				<b>Author:</b>
				sweetphp<br />
		<b>Located at</b> <a href="source-class-Object.html#3-197" title="Go to source code">libs/system/core/Object.php</a><br />
	</div>



	<table class="summary" id="methods">
	<caption>Methods summary</caption>
	<tr data-order="objectToArray" id="_objectToArray">

		<td class="attributes"><code>
			 public static
			Array
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_objectToArray">#</a>
		<code><a href="source-class-Object.html#25-47" title="Go to source code">objectToArray</a>( <span>&lt;type&gt; <var>$object</var></span> )</code>

		<div class="description short">
			SweetPHP<br />

<p><b>objectToArray</b></p>

<p>Converte um objeto em array.</p>

<p>$object = array();</p>

<p>$object['0'] = object($var1);</p>

<p>$object['1'] = object($var2);</p>

		</div>

		<div class="description detailed hidden">
			SweetPHP<br />

<p><b>objectToArray</b></p>

<p>Converte um objeto em array.</p>

<p>$object = array();</p>

<p>$object['0'] = object($var1);</p>

<p>$object['1'] = object($var2);</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$object</var></dt>
					<dd><code>&lt;type&gt;</code><br>$object</dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					<code>Array</code><br />
				</div>


				<h4>Copyright</h4>
				<div class="list">
						Copyright (c) 2013 - 2014, Ilines.<br />
				</div>
				<h4>Author</h4>
				<div class="list">
						sweetphp<br />
				</div>


		</div>
		</div></td>
	</tr>
	<tr data-order="objectsToArray" id="_objectsToArray">

		<td class="attributes"><code>
			 public static
			Array
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_objectsToArray">#</a>
		<code><a href="source-class-Object.html#49-69" title="Go to source code">objectsToArray</a>( <span>&lt;type&gt; <var>$object</var></span> )</code>

		<div class="description short">
			SweetPHP<br />

<p><b>objectsToArray</b></p>

<p>Converte uma lista de objetos em um array.</p>

<p>$object = array();</p>

<p>$object['0'] = object($var1);</p>

<p>$object['1'] = object($var2);</p>

		</div>

		<div class="description detailed hidden">
			SweetPHP<br />

<p><b>objectsToArray</b></p>

<p>Converte uma lista de objetos em um array.</p>

<p>$object = array();</p>

<p>$object['0'] = object($var1);</p>

<p>$object['1'] = object($var2);</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$object</var></dt>
					<dd><code>&lt;type&gt;</code><br>$object</dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					<code>Array</code><br />
				</div>


				<h4>Copyright</h4>
				<div class="list">
						Copyright (c) 2013 - 2014, Ilines.<br />
				</div>
				<h4>Author</h4>
				<div class="list">
						sweetphp<br />
				</div>


		</div>
		</div></td>
	</tr>
	<tr data-order="objectToArrays" id="_objectToArrays">

		<td class="attributes"><code>
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_objectToArrays">#</a>
		<code><a href="source-class-Object.html#71-77" title="Go to source code">objectToArrays</a>( <span>mixed <var>$object</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="objectsToArrays" id="_objectsToArrays">

		<td class="attributes"><code>
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_objectsToArrays">#</a>
		<code><a href="source-class-Object.html#79-85" title="Go to source code">objectsToArrays</a>( <span>mixed <var>$object</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="objectToKeysArray" id="_objectToKeysArray">

		<td class="attributes"><code>
			 public static
			mixed
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_objectToKeysArray">#</a>
		<code><a href="source-class-Object.html#87-104" title="Go to source code">objectToKeysArray</a>( <span>&lt;type&gt; <var>$object</var></span> )</code>

		<div class="description short">
			SweetPHP<br />

<p><b>objectToKeysArray</b></p>

<p>Abstrai a chave do Array.</p>

		</div>

		<div class="description detailed hidden">
			SweetPHP<br />

<p><b>objectToKeysArray</b></p>

<p>Abstrai a chave do Array.</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$object</var></dt>
					<dd><code>&lt;type&gt;</code><br>$object</dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					<code>mixed</code><br>$array_keys<br />
				</div>


				<h4>Copyright</h4>
				<div class="list">
						Copyright (c) 2013 - 2014, Ilines.<br />
				</div>
				<h4>Author</h4>
				<div class="list">
						sweetphp<br />
				</div>


		</div>
		</div></td>
	</tr>
	<tr data-order="objectToKeysArrays" id="_objectToKeysArrays">

		<td class="attributes"><code>
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_objectToKeysArrays">#</a>
		<code><a href="source-class-Object.html#106-112" title="Go to source code">objectToKeysArrays</a>( <span>mixed <var>$object</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="objectsToKeysArrays" id="_objectsToKeysArrays">

		<td class="attributes"><code>
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_objectsToKeysArrays">#</a>
		<code><a href="source-class-Object.html#114-120" title="Go to source code">objectsToKeysArrays</a>( <span>mixed <var>$object</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="objectToValueArray" id="_objectToValueArray">

		<td class="attributes"><code>
			 public static
			mixed
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_objectToValueArray">#</a>
		<code><a href="source-class-Object.html#122-139" title="Go to source code">objectToValueArray</a>( <span>&lt;type&gt; <var>$object</var></span> )</code>

		<div class="description short">
			SweetPHP<br />

<p><b>objectToKeysArray</b></p>

<p>Abstrai o valor do Array.</p>

		</div>

		<div class="description detailed hidden">
			SweetPHP<br />

<p><b>objectToKeysArray</b></p>

<p>Abstrai o valor do Array.</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$object</var></dt>
					<dd><code>&lt;type&gt;</code><br>$object</dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					<code>mixed</code><br>$array_value<br />
				</div>


				<h4>Copyright</h4>
				<div class="list">
						Copyright (c) 2013 - 2014, Ilines.<br />
				</div>
				<h4>Author</h4>
				<div class="list">
						sweetphp<br />
				</div>


		</div>
		</div></td>
	</tr>
	<tr data-order="objectsToValueArray" id="_objectsToValueArray">

		<td class="attributes"><code>
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_objectsToValueArray">#</a>
		<code><a href="source-class-Object.html#141-147" title="Go to source code">objectsToValueArray</a>( <span>mixed <var>$object</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="objectToValueArrays" id="_objectToValueArrays">

		<td class="attributes"><code>
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_objectToValueArrays">#</a>
		<code><a href="source-class-Object.html#149-155" title="Go to source code">objectToValueArrays</a>( <span>mixed <var>$object</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="objectsToValueArrays" id="_objectsToValueArrays">

		<td class="attributes"><code>
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_objectsToValueArrays">#</a>
		<code><a href="source-class-Object.html#157-163" title="Go to source code">objectsToValueArrays</a>( <span>mixed <var>$object</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="arrayToObject" id="_arrayToObject">

		<td class="attributes"><code>
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_arrayToObject">#</a>
		<code><a href="source-class-Object.html#165-167" title="Go to source code">arrayToObject</a>( <span>mixed <var>$array</var> = <span class="php-keyword1">array</span>()</span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="getArray" id="_getArray">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getArray">#</a>
		<code><a href="source-class-Object.html#169-175" title="Go to source code">getArray</a>( )</code>

		<div class="description short">
			
<p>Construct (Edit)</p>

		</div>

		<div class="description detailed hidden">
			
<p>Construct (Edit)</p>








		</div>
		</div></td>
	</tr>
	<tr data-order="setArray" id="_setArray">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_setArray">#</a>
		<code><a href="source-class-Object.html#177-179" title="Go to source code">setArray</a>( <span>mixed <var>$array</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="getObject" id="_getObject">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getObject">#</a>
		<code><a href="source-class-Object.html#181-183" title="Go to source code">getObject</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="setObject" id="_setObject">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_setObject">#</a>
		<code><a href="source-class-Object.html#185-187" title="Go to source code">setObject</a>( <span>mixed <var>$object</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="__toString" id="___toString">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#___toString">#</a>
		<code><a href="source-class-Object.html#189-191" title="Go to source code">__toString</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-Reflector.html#___toString">Reflector::__toString()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="export" id="_export">

		<td class="attributes"><code>
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_export">#</a>
		<code><a href="source-class-Object.html#193-195" title="Go to source code">export</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-Reflector.html#_export">Reflector::export()</a></code></div>
		</div>
		</div></td>
	</tr>
	</table>


















</div>

	<div id="footer">
		sweetphp API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
	</div>
</div>
</div>
</body>
</html>
